package day04;

public class ArrayDemo {
    public static void main(String[] args) {
        int[]b=new int[23];
        double[]c=new double[45];
        boolean[]d=new boolean[434];
        float[]w=new float[5];
        System.out.println(b[1]);
        System.out.println(d[3]);
        System.out.println(c[4]);
        System.out.println(w[2]);

        int[]q=new int[4];
        double[]f=new double[32];
        boolean[]v=new boolean[8];
        float[]n=new float[45];
        System.out.println(v[1]);
        System.out.println(q[3]);
        System.out.println(f[4]);
        System.out.println(n[2]);

        int[]a=new int[5];
        //每个数组都是整形数组有五个
        double[]d1=new double[10];//双精度数组有十个
        boolean[]b1=new boolean[26];//布尔型数组有二十六个

        int[]arr=new int[3];
        int[]arr1={2,5,8};

        int[]arr2=new int[]{2,5,8};
        int[]arr4;
        arr4=new int[]{1,2,3};

        int[]s=new int[5];
        int[]s1={5,3,3};
        int[]d3;
        d3=new int[]{3,6,4};
    }
}
